package com.ruoyi.shopping.mapper;

import java.util.List;
import com.ruoyi.shopping.domain.MallCommissionWithdraw;
import org.apache.ibatis.annotations.Param;

/**
 * 佣金提现审核Mapper接口
 *
 * @author scx
 * @date 2022-06-27
 */
public interface MallCommissionWithdrawMapper
{
    /**
     * 查询佣金提现审核
     *
     * @param id 佣金提现审核主键
     * @return 佣金提现审核
     */
    public MallCommissionWithdraw selectMallCommissionWithdrawById(Long id);

    /**
     * 查询佣金提现审核列表
     *
     * @param mallCommissionWithdraw 佣金提现审核
     * @return 佣金提现审核集合
     */
    public List<MallCommissionWithdraw> selectMallCommissionWithdrawList(MallCommissionWithdraw mallCommissionWithdraw);

    /**
     * 新增佣金提现审核
     *
     * @param mallCommissionWithdraw 佣金提现审核
     * @return 结果
     */
    public int insertMallCommissionWithdraw(MallCommissionWithdraw mallCommissionWithdraw);

    /**
     * 修改佣金提现审核
     *
     * @param mallCommissionWithdraw 佣金提现审核
     * @return 结果
     */
    public int updateMallCommissionWithdraw(MallCommissionWithdraw mallCommissionWithdraw);

    /**
     * 删除佣金提现审核
     *
     * @param id 佣金提现审核主键
     * @return 结果
     */
    public int deleteMallCommissionWithdrawById(Long id);

    /**
     * 批量删除佣金提现审核
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallCommissionWithdrawByIds(Long[] ids);

    /**
     * 批量逻辑删除佣金提现审核
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int logicDeleteMallCommissionWithdraw(@Param("array") Long[] ids, @Param("delType") String delType, @Param("delUser") Long delUser);
}
